package com.loong.loong.hik.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 人脸分组
 * @author jinyiang
 * @date 2023/3/10 14:28
 */
@Data
@ApiModel(value = "人脸分组")
@TableName("hik_face_group")
public class HikFaceGroup extends Model<HikFaceGroup> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;
	@ApiModelProperty(value = "人脸分组的索引代码")
	private String indexCode;
	@ApiModelProperty(value = "人脸分组的名称")
	private String name;
	@ApiModelProperty(value = "人脸分组的描述信息")
	private String description;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.UPDATE)
	@ApiModelProperty(value = "更新时间")
	private LocalDateTime updateTime;


	/**
	 * 删除标记
	 */
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty(value = "删除标记,1:已删除,0:正常")
	private String delFlag;
}
